.class Lcom/waiqin365/lightapp/visit/bb;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/waiqin365/lightapp/view/eq;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/visit/bb;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Lcom/waiqin365/lightapp/kehu/share/a/c;)V
    .locals 2

    if-nez p1, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/bb;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->a(Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;)Landroid/content/Context;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/login/mainview/a;->i(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    iget-object v1, p1, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    const/4 v0, 0x0

    :goto_1
    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/bb;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->c(Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;)Lcom/waiqin365/lightapp/view/CustomerSelectMultView_vertical;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/view/CustomerSelectMultView_vertical;->b(Z)V

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/bb;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->c(Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;)Lcom/waiqin365/lightapp/view/CustomerSelectMultView_vertical;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/bb;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->d(Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;)Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->e()Lcom/waiqin365/lightapp/kehu/share/a/c;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/CustomerSelectMultView_vertical;->setQueryEmpId(Ljava/lang/String;)V

    goto :goto_0

    :cond_2
    const/4 v0, 0x1

    goto :goto_1
.end method
